Fix 2 bugs in glog