minor log bug fix.