Fixing the issues in Loan Date