fix error in log messages