resolves type warning for format string