fix not close bug