Fix failure on incorrect urls