fix garbled namespaces