fixing minor issue. Inversion of namespace and name in local data structure