fixed bug when checking light schedule