fix uefi partition count bug