fix error in cli