clean up unused plugin references