correct the error output message.