fix day checking at schedule