Remove tmp from index