repair dependencies