refine dependencies info.