minor logging fixes.