removed hasOne fk reference when dealing with composites