disable unneeded printf debugging
fix an ugly format string bug