fix auto width index