makes some fixes to domain settings