fix minor 'logging' issues