format string warnings fix