delete old classperiod open method