Fixes response header foreach var