fixed bug in scholar hour generator