data.bytes' type is changed from char to unsigned char