fixed issue when trying to override the preview_path value for the pages module