fix a bug in SetHeader