fixed the buttons on the main page