fix for pages path