fixed copying header