fix event unsubscribe