function _set_overrides maybe should be change

If the routs had been override,rsegments changed after that!I think it's more logical.