delete unnecessary comment headers