purge vehicles and some bug fixes