replace all std::cout with glog