fix bug

implement the enter button logic