suppresses key presses