. fix page calc issue