fix typo
fix typo
improve copy_header()