delete function getElementSize