Fix for logger