fix recursive in sub level cause stack overflow in prettystr