check the enter press