adds better support for urls
fixes a bug of endlessloop