refactor bad code
Merge pull request #1 from zhouguangming/refactor

refactor bad code