Fix regenerate command who use wrong strategy