Impossible to attach an element to an object