fix init settings for page segmentation