fixed url check