open the index once and for all