get rid of useless headers