fix a bug for not showing trees for exactly same sample