fix some bugs of shadow page table