hopefully fixed all problems concerning transcoding #227