naming of generated elements, adding missing space