updated minor episode handling