corrects url for rcm