modify diagnosis pagesize