handle plugin dependency