Fixing Obj ref error with create capture entity