removal of stray headers