small logger fix