[FIX]Solve Closing bug