fix short url log use db