cleaning up plugins