handle nil searched results