URL shortener, bugfixes