fix an error when empty query page.