fix path of namespaces