fixed copyObj not being set