set nextmapindex