fix some vehicle functions