Cleanup in head