fixed issues with styles in namespaces