ucs: fix crash in EWS callback