Fix app error - stack overflow in toString