ensure appendChild() handles decoration