fix squeel search sql