make namespaces consistent
fix wrong condition for style tags