correct namespaces on relations