fixed incorrect EFI detection