fixed deprecation notice for domain variable
Merge pull request #26 from svengerlach/master

fixed deprecation notice for domain variable