fix a debug message
more concise and strict protocol tokenization