refine 'main' page