fix TabClosed