auto-encode; decode-fail