fixing broken demux