a clean up in index