log messages fix