Error somewhere in highlight not ending