fix missing attributes