fixed storing location with bad URL