fixed keyPress