fix logical maximum to be interpreted as unsigned char