clean-up main page tail