fix total page