Fix issue 58 domain property

fixes issue #58