add command to remove trailing white space