Fixed a bug with debug printing.