put back enter key handling