fixed getClosure()