fix compile error
 partial  fix of htm create , we neet to protect the create and destroy htm by the heca stat mutex