fix task dependencies