cleanup in index