adjust episode and galleries