fixes on highlight search pattern