check for unused dependencies
remove duplicated plugins