Backtracking to avoid a bad system