enter keydown fix