Fix debug console output.