fix error initializing UnknownAttributeError