cleaning up bayesact