fix weird issue with index ordering name