Fix value overflow.