fix unsigned short value