fix for pages-generated file