remove multiple plugin declarations.