Fixed invalid log messages.