move map to index