page stack re-factor.