Fix URL Shortener

Made the url shortener work again.