fix prepublish script