fix byte to sbyte overflow