fixed ENTER key bug