removing redundant headers