Fix rescue problem on ApplicationController