minor tweak of logging