fixing so that all pages have their models loaded