fix vehicle counting