added rm_dplugin, get_dplugins_count