add better handling of initialize content