fix x.domain