reformat main page