fixed multiple plugin bug