log messages fixed