Refine for global variable
Merge pull request #51 from JacksonTian/refine

Refine for global variable