fix some logging messages