fix no results bug