setHeader and addHeader fixed