change malloc to new solve problem in car.hpp