fixed issue with dependency tasks