Fix checkdata command.