modify search pattern