Warnings bug fix

Some illegal string warning bug fixs