Fix error report message.