fix transcoding