remove debug code from generator, change char to unsigned char.