fixed keypress for arrows