bugfixes for downstream changes from partia_dependence()