fix double episode bug