resolved mismatch of trellis_encoder