remove dead code
Merge pull request #372 from xuwei-k/remove-set-each

remove dead code