yet another logging error. fix.