Fix i++ with wrong place
Merge pull request #5 from haoranyu/master

Fix i++ with wrong place