restore config keys and prevent global tags to overwrite tags defined in params
support rfc 822