AI has backtracking, and a stuck fix
merge some inconsistincies