fix the close issue for change channel