refactor bug fix, change id into namespaceUid