new object attribute assignment fix