changed rina files containing hash_for_each_safe
changed rina files containing hash_for_each_safe