Removed the dom writing when DGSing