Clean up on main pages