fix logger class