logger fixed