fix #267, paging error for empty task list