fix highlighting, separate string slicing for hits from marking it up with a highlight lass