spelling and dead code
Merge pull request #39 from diwu1989/master

Spelling mistake and dead code