fixed issue with main menu