fixed bugs where ref_objects got overwritten
Merge pull request #102 from twobraids/refobject_overwritten_bug

fixed bug where ref_objects got overwritten
raised version