fix layout main page