fixing AR-version-dependent spec case