re-initializing index after _clear()