fixed call to DataWriter->write() in PageRender.