class should not hold reference to the page