fix a bug about printing uncertainty