change name of indes 2 to index