fix wrong element name after refactoring of detail
check whether name_space exists

• name_space was introduced once because it seemed useful. It needs to be reevaluated and removed if it's not used.
  question: is there a reason to name space it beyond the key and provider?