removes unsafe plugins