advaced searching fix