fixes for getWrap()
Merge pull request #2 from thomasleveil/get_wrap

fixes for getWrap()