Revert "change page code"

This reverts commit 89df6fb233193634474f8bb4d8501bd75578ce32.