Fix incorrect dep management