minor adjustments to logging