fixed pageSize issue