Set delay to fix tap bug