remove superfluous headers