better highlight recognition