Use value.toString, not value when making leafs