fix calling public method between envs
Merge pull request #7 from lulurun/master

fix calling public method between envs