More changes to URL

fixed the error calling in url, though still commented out as I need to
fix the migration error first.