fix pg search