fixed c string warning