removed bug in logger init