use new probobility base alg
fix alg bug
add html
fix alg bug