bugfix for existring domain bug