fixed url_exists