bug fix in ObjectWrapper
Merge pull request #275 from rwhaling/master

bug fix in ObjectWrapper