Try using setHeader() in correct way