fix a text bug, and disable std::cerr debug msg