implemented missing functionality for convert_long_urls