remove faulty nodeType check when parsing template
keep attached/detached for now
sync data by default