Corrigindo bugs no Backtracking