fixed close event