change an index problem