clear out the index