fix can't pick page's parent