remove auto-generated head