fixing plugin declaration syntax