Fixed uncaught errors from urls