bug fix in call to priordens;