diff --git a/lib/geocoder/results/yandex.rb b/lib/geocoder/results/yandex.rb
index f9d830eedfb8c844c00a765762d50cb23a474758..d71fc1cc0129dcef626ba3710d8bb892d41468a7 100644
--- a/lib/geocoder/results/yandex.rb
+++ b/lib/geocoder/results/yandex.rb
@@ -36,14 +36,10 @@ module Geocoder::Result
         ""
       end
     end
-    
+
     def sub_state
-      if !state.empty?
-        if state['SubAdministrativeArea']
-          state['SubAdministrativeArea']['SubAdministrativeAreaName']
-        else
-          ""
-        end
+      if !state.empty? and state['SubAdministrativeArea']
+        state['SubAdministrativeArea']['SubAdministrativeAreaName']
       else
         ""
       end