fixed automated import and initialization problem