make sure that the-index gets regenerated when it is processed