fixed the 'repeated button presses required' bug