Fix setheader call