changed page-inheritance order