removed extraneous binding
handling more invalid data
Merge pull request #118 from Ryabrandt/errorchecking

removed extraneous binding