fixed ShowPage bug