fixed keypress codes