Adjust indexes