refine dependency info