simplify dependency list

i think is do exactly the same, but in a simpler way