Correct element attachment