emptying contents for dcc templates