fixing case where there aren't more results