fixed double arrow keys pressed bug