edit search function

default = name