fix some commandmap.cpp creat bug