Fixed another logging error