fixes some minor problems with the main menu