fixed last ep bug