fixes for adding domains