fixed viewLoanHistory