In failed cases the debug printing was going out of bounds