fixed bug in event handler: tokenizer