Study of gas purifiers in the CMS RPC detector