refactor returned results page for no results