avoid inadvetently updating global dict of headers