fix XCache in cli