BugFix for logger