fix deprecation warning failures_controller