fixes https://github.com/vilaca/UrlShortener/issues/27