Fix dep graph