remove pagination when there is no result