fix wrong printf format mismatches

As the title said this hunts all printf format mismatches (thanks @notspiff)