fixed demuxer crash