Fixes the add_location bug and fixes undefined Hashie keys.