reset index because I had to pause the pdf create cycle