lap count bug fixed