Output a debug string is Invalid @ parameter #1

line 143 may be crash or buffer overflow. because the argument must is a pointer as char type  that and have a valid buffer