bugfix initializing page data