[ZT] refactor of shorten url