Remove the extra code

These codes appear in the wrong location, which means line 637 has the same codes.
Merge pull request #28 from xcatliu/master

Remove the extra code