fix logger bug
Merge remote-tracking branch 'origin/LoggerBugFix' into ModesSwitch