QSP: category priors fix