first fixes for PTE