Fixing debug printing.