fix potential buffer overflow