remove unneeded headers