bugfix: add [] on array init, typecast debug str