fixed incorrect type definitions that should have been fixed in last commit