fix getting properties for references
Merge pull request #64 from uwej711/fix_get_property_value

fix getting properties for references