remove ns and name