[FIX] "can't convert nil into Hash" in Ruby version < 2.0.0