fixed bug: ./cmd: malloc(): memory corruption: 0x0000000001df1a70