rm old version from index file