keyCode fix prevent default