rectify an error on the plugin scope