use a better way to check the PTE is present