Fix some issues with format specifiers