fix rescue command in application controller