Fixed the cancel command.