fix orderDependenciesForRemove : remove automatic not throw referential