fixed return from crashing in main menu