Core: fix url with namespaces