Fixed a bug where url shortening wouldn't work.