removed unneeded portion of string in cli