fix PageController