fix a url storage bug