fix format string check warnings