more hacks to fix the double tap error