fix bug in logging from man-back file