remove tmp index