fixed minor logging issue