bug removed

a bug causing error during declaring datesheet of class with multiple
sections.