support ffd and fix bug in get_dep_series