fix up transcoding