Fix to on_complete and on_failure options.