fixed more responsive keypresses