fixed no results crash