Use replace header instead of add header to avoid header duplication.