use allowUnsafe in DMI