minor logging improvement