minor corrections to the index module