rename resume_index back to ignore_index