fix warnings now noted due to format string checking