use getNamespace method proper