finish get total page