fixed handling of important and namespaces