fix logger reference