Fix indexing in tcMap.