pagestate: switch to use_pagespec