Fixed minor logging error