fixed polymorphic relationship problem