fixed search S functionality