Timed and Deadline Task bug fixed