minor logging fixes