correct a command