[TASK] pagetree little refactoring