use right dependent option for ad_type - close #12