fix up log messages