finish polymorphic relations