moved method page_content; some fixes