fix to url check