fix bug with replaceChild
0.7.3