Fix an issue with empty string warning