Fixed domain creation issues.