fixed a warning from pychecker about page_content