fix retaining of .set() header field case