cleaned the url helper