fix bug on page movement in measurement