fixed onkeydown and onkeyup