fix endhighlight