simplify url_with_clean_urls method