fix load feature id map
prefer std::string to const char*