more reliable architecture check