some PTE fixes