logger instance reference fixed