Remove keypress char code check