convert modurls to routes