remove duplicated lines of code
Merge pull request #301 from haiwen/patch-31-remove-duplicate-lines

remove duplicated lines of code