fix when element is already contained in the document
Release 0.0.2