Plugin management bug fix