copied and updated
ungroup deps