fixing up plugins