fix prepublish script [ci skip]