fix problem with log message