fix #801, closures result parameter unsolve bug

fix #801
closures result parameter unsolve bug.

All tests passed.