fix loan case controller