Error-checking

Deleted some duplicates and fixed capitalization
Merge pull request #192 from mvonbargen/patch-66

Error-checking