remove tmp index file