fix paging segment