fixing old highgligher compatibility

fixing old highgligher compatibility