fixing bug in add vehicle