bug in namespace handling for indexing