initialize num_phases in MMP
fix compiling errors with releaseObject
Merge pull request #3 from norihiro-w/react_trans_GIA

fix minor bugs