sync with xmem