remove uneeded closures
Merge pull request #2420 from stefanpenner/remove_extra_closure

remove uneeded closure