fixed bug in dependents