small fix for logger