refactor completion reset correction