Fix current page variable