fixing the index some