fixed unspecified char to be a signed char