remove uneeded closure