fix arguments leakage

Closes MatthewMueller/wrap-fn#4
Merge pull request #4 from Fishrock123/master

fix arguments leakage