fix appendChild interface bug