adjust the main page