adding paperclip fixes for polymorphic relationship