fix regression with `wrapped`

Closes gh-39