fix: incorrect typing for pages