fix parseLocationString