use const char* to avoid some warnings
use std::string instead of CStdString to avoid a comparison warning