fix layout for main page