handling no party_id in defs