modify bugfix of CLI#add