Fixed some small mistakes in CommandUtils