fix inter task dependencies