Problem with domain and CreateInstance