clean up head module