hotproc : fix buffer overflow