General motors recalling thousands of vehicles