change char to unsigned char
maybe it can fix language bug?