fix page cursor offset