better check for private url