fix final url check