fix TypeError set() is not JSON serializable when dismiss during session