Fix reference to encode_string