fix AbstractElement, AbstractModel