* rewrite book page logics.