copy headers fix