fix revisionGuard