fixed public header copy phase