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

bug fix in ObjectWrapper