fix logger registration