Fix to overwrite connection header