diff --git a/lib/abn_search.rb b/lib/abn_search.rb
index <HASH>..<HASH> 100644
--- a/lib/abn_search.rb
+++ b/lib/abn_search.rb
@@ -181,7 +181,7 @@ class ABNSearch
     else
       if !result[:legal_name].blank? && result[:legal_name].length > 2
         result[:name] = result[:legal_name]
-      elsif !result[:legal_name].blank?
+      elsif !result[:legal_name2].blank?
         result[:name] = result[:legal_name2]
       end
     end
@@ -192,4 +192,4 @@ class ABNSearch
   def valid?
     self.errors.size == 0
   end
-end
\ No newline at end of file
+end
fixed parse_search_results so that legal_name2 can be used as the name