Fixed a closure bug.