adding autoset_owner_id condition