fix soft dependency.