minor optimization in schoolsinfo