modify index according to bugreport