quick hack to get pages to render correctly