Fixed a bug for DoneCommand.