fixing log messages