fix restore header formatting