gets rid of error in cli