delete the old index folder