fixed some type definition errors
Merge pull request #1 from gbbr/101-type-defs

fixed some type definition errors