added failure_path for protected