fixed double keypressed