fixed duplicate tap bug