remove batch codes from non-batched codecs