clean-up the head