fix stack dumps from printing an infinite amount of <0> in some cases