Fix the wrapInner() method
Merge pull request #127 from noisan/wrap-inner-fix

Fix wrapInner()