fix plugin declaration