fix a bug firstchild null