refactor showpage v1