fixed minor HMA module bugs
fixed minor HMA module bugs

rpanah/centinel,Ashish1805/centinel,ben-jones/centinel,lianke123321/centinel,rpanah/centinel,iclab/centinel,rpanah/centinel,JASONews/centinel,iclab/centinel,iclab/centinel,lianke123321/centinel,lianke123321/centinel