code improvement in class simple_mc_proxy_routing