delete both index