change epoch and xid to 64-bit int