remove redundant headers