fix program exiting if return key is held down during start