simplify headers manipulation