Fix erros in the walker class