fix trace in cli