fix the closure's gc bug.