fixing search in fpr