enforce compile time format string checks and fix format strings