bugfix: plugin case