fix paging, remove empty page