fix of max per page in table