Fixed buffer overflow.