cleanup in cli