no pagination in table with one page && clearing Table function