Fixed bug in process of register vehicle.