hopefully fixing enter key press catch