fix double_dependencies