problem with ESC and ENTER