keypress bug ie fix