correction for some logging statements