fixing log message