Revert "moved header setting #2"

This reverts commit 87d7083053503d3cc10740ec38e8534608572099.