fix share plugin