refine main page