log messages improved