modifications for page-structure-mode