add Closure,fix #6