handle name errors in the cli