fixed #1
changed checkForMissedDeadline()