fix doubletap reset bug