fix bug in short url model