remove headers without ruining everything