fixed scheduleCheck