fix AddElem