fixed adding headers