fixed issues with depedency tasks