- hack for bayesian nodes