fixing domain id problem;