fix page mode