region--content code cleanup