fix logger access