adding and fixing plugins