fixing the episode generation
 some cleanup and debugging of specific rendering