Fixed issue where header was incorrect