fix numerical indexes to name hashes