fix Already closed Exception