remove sources and styles in ContentWidget