Fix value encoding.