fix bayesfilter