fix minor bug of dealing zero uncertainty