fix video output desctruction