fix self-reexecution of task with same id
use dynamic too old date