diff --git a/app/services/topics_importer.rb b/app/services/topics_importer.rb
index e52248a6256561dc6ea4ccaf52466c6ed1ab0f89..0180f3e3182c545117aa15a1f628b3df453f8066 100644
--- a/app/services/topics_importer.rb
+++ b/app/services/topics_importer.rb
@@ -20,8 +20,11 @@ class TopicsImporter
 
         if !topic_exists? topic_name
           topic = Topic.where(name: topic_name).new
+        elsif @@topics[topic_name].nil?
+          topic = Topic.find_by_name topic_name
         end
 
+
         create_relations(topic_name)
         learning_object.topics << topic
         @@topics[topic_name] = topic