Fix for minor issue with the enter key