Corrected error in fails controller