remove unneeded closure.