add check judge function in scheduling page