add plugin validation to the plugin plugin