main page cleanup