The referring calls seem to pass selector as a parameter so I just changed _rg to _selector.