fix a bug cause by closure