fixing index crap