Removed duplicated code
typos
Merge pull request #391 from enumag/patch-3

typos