fix unused variable in cli