solve loan_assignment pagination issue