Added checking for incorrect backtracing, fixed wrong word