remove sections of deleted classes