fix error on set header