fixed code to pass tests
Merge pull request #30 from ghernandez345/parseTypeFix

fixed code to pass tests