Avoid the possibility of buffer overflow