here is another `isLegacyMode()` check.