fixed array to string warning