view cleanup and content add.