reset internal content variable when generating a new section