Fix more log bug