correct the object to assign