[DEV] correction of the dependence check (basic error)