fix missing attribute declaration