fix IOOB exception when checking for greek letters