fixed wrong debug message
critial bugfix (buffer overflow)