Modify some string from map to index