cleaned up the formatting of the page_stream