fix bug with insert-ether plugin