Fixed wrong dependent tasks.