fixed the loan book flow