adapted to changes in lcgdm module, correct creation of the ns namespace