fix arguments leakage

Closes MatthewMueller/wrap-fn#4