fix a bug when dependencies length is grater than paths length