small error in schoolid logic