Fixed url check