made private global static
fixed mismatched format string warning