Fixed a bug when publishing episodes