fix auto dosearch()