reset index to init