Fixed path issues by adding a pagePath property.